package com.icloud.article.boot.dto;

import com.icloud.common.core.constant.ValidateConstant;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotEmpty;
import java.util.List;

@Getter
@Setter
public class IMAddGroupMemberDto {
    @ApiModelProperty(value = "群组Id", required = true)
    @NotEmpty(message= ValidateConstant.NOT_EMPTY)
    private String groupId;
    @ApiModelProperty("是否静默加人.0:非静默加人;1:静默加人;不填该字段默认为0")
    private Integer silence;
    @ApiModelProperty(value = "待添加的群成员数组,数组元素为成员的UserId", required = true)
    @NotEmpty(message= ValidateConstant.NOT_EMPTY)
    private List<String> memberList;
}
